package com.czbank.financing.Entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Role {

    private long id;

    private long rid;

    private  String role_name;

    private  long pid;

    private int moneyState;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date invalidTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date creationtime;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getRid() {
        return rid;
    }

    public void setRid(long rid) {
        this.rid = rid;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public long getPid() {
        return pid;
    }

    public void setPid(long pid) {
        this.pid = pid;
    }

    public int getMoneyState() {
        return moneyState;
    }

    public void setMoneyState(int moneyState) {
        this.moneyState = moneyState;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

}
